/**
 * 
 */

function Point2D()
{
	/**
	 * 
	 */
	this.x;
	
	/**
	 * 
	 */
	this.y;
	
	/**
	 * 
	 */
	this.getDistanceFromPoint = function(B)
	{
		return Math.sqrt( (B.x - this.x) * (B.x - this.x) +
						  (B.y - this.y) * (B.y - this.y));
	};
}